package com.example.shop.service;

import com.example.shop.model.Role;
import com.example.shop.model.User;
import com.example.shop.utils.PageBean;
import org.springframework.stereotype.Service;

@Service
public interface RoleService {
    int updateUserRole(User user);

    PageBean<Role> getRolePageBean(int pageNo, int pageSize, String search);
}
